﻿/*
 * @author: wizardc
 */

namespace Dou.Resource
{
    /// <summary>
    /// 热更步骤
    /// </summary>
    public enum HotFixedStep
    {
        /// <summary>
        /// 获取版本
        /// </summary>
        GetVersion,
        /// <summary>
        /// 获取资源清单
        /// </summary>
        GetManifest,
        /// <summary>
        /// 下载热更资源
        /// </summary>
        DownloadResource,
        /// <summary>
        /// 校验热更资源
        /// </summary>
        VerifyFile,
    }

    /// <summary>
    /// 热更异常码
    /// </summary>
    public enum HotFixedErrorCode
    {
        /// <summary>
        /// 无
        /// </summary>
        None,
        /// <summary>
        /// 获取版本失败
        /// </summary>
        GetVersionFailed,
        /// <summary>
        /// 获取资源清单失败
        /// </summary>
        GetManifestFailed,
        /// <summary>
        /// 下载失败
        /// </summary>
        DownloadFailed,
        /// <summary>
        /// 校验失败
        /// </summary>
        VerifyFailed,
    }
}
